EXECUTABLE=ty
OBJECTS=CuTest.o data_stack.o main.o mem.o tests.o
CFLAGS=-Wall -Werror -ansi
LDFLAGS=-lasound -ljack

default : all

.c.o :
	gcc -c $(CFLAGS) $<

all : $(EXECUTABLE)

clean :
	rm -f $(OBJECTS)

$(EXECUTABLE) : $(OBJECTS)
	gcc -o $(EXECUTABLE) $(LDFLAGS) $(OBJECTS)

CuTest.o : CuTest.c
data_stack.o : data_stack.c
main.o : main.c
mem.o : mem.c
tests.o : tests.c
